﻿@using Masa.Blazor.Components.Editor
<MEditor Upload="_upload">
</MEditor>
@code {
    private MEditorUpload _upload = new MEditorUpload
    {
        Action = "/api/upload",//Please change your upload address
        TokenName = "authorization",
        Token = "Your token",
        Name="file",
        Accept = "image/png, image/gif, image/jpeg, image/bmp, image/x-icon",
        PathKey = "path"//Action result image path property
    };
}